<?php

namespace app\admin\model;

use app\common\model\Sms as BaseModel;
class Sms extends BaseModel
{
    public function searchPhoneAttr($query,$value)
    {
        if ($value){
            $query->where('phone','like','%'.$value.'%');
        }
    }
}